package com.czh.springboot04.service;

import com.czh.springboot04.entity.Article;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ArticleService {
    int addArticle(Article article);

    int deleteArticle(int id);

    int deleteArticles(int[] ids);

    int updateA(Article article);

    Article findById(int id);
    PageInfo<Article> selectAllInPage(int pageNum,int pageSize,Article article);
}
